package net.neptech.controller;

import net.neptech.service.SampleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Saya
 * @Date 2025/8/12 13:40
 * @Description 测试用接口
 **/
@RestController
@RequestMapping("sample")
public class SampleController {
    @Autowired
    private SampleService sampleService;

    @RequestMapping("hello")
    public String HelloWorld() {
        return sampleService.getFirstSampleInfo();
    }
}
